

        <g:set var="entityName" value="${message(code: 'article.label', default: 'Article')}" />
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <g:sortableColumn property="title" title="${message(code: 'article.title.label', default: 'Title')}" />
                        
                            <th><g:message code="article.receiver.label" default="receiver" /></th>
                        
                            <g:sortableColumn property="editor" title="${message(code: 'article.editor.label', default: 'editor')}" />
                        
                            <g:sortableColumn property="informToMobile" title="${message(code: 'article.informToMobile.label', default: 'Inform To Mobile')}" />
                        
                            <g:sortableColumn property="informToMail" title="${message(code: 'article.informToMail.label', default: 'Inform To Mail')}" />
                        
                            <g:sortableColumn property="echo" title="${message(code: 'article.echo.label', default: 'Echo')}" />
                            <th></th>
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${articleInstanceList}" status="i" var="articleInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${articleInstance.id}">${fieldValue(bean: articleInstance, field: "title")}</g:link></td>
                        
                            <td> 
                                <g:if test="${!articleInstance?.receiver?.isEmpty()}"> 
                                    <g:each in="${articleInstance?.receiver}" var="receiver"  status="index">
                                         <g:if test="${index < 3}">${receiver},</g:if> 
                                    </g:each>等${articleInstance?.receiver?.size()}人
                                </g:if>
                                <g:else>
                                  所有人
                                </g:else>
                            </td>
                        
                            <td>${articleInstance?.editor}</td>
                        
                            <td><g:formatBoolean boolean="${articleInstance.informToMobile}" /></td>
                        
                            <td><g:formatBoolean boolean="${articleInstance.informToMail}" /></td>
                        
                            <td><g:formatBoolean boolean="${articleInstance.echo}" /></td>
                            <td class="operate">
                            <g:if test="${articleInstance?.editor?.id == id}">
                                <x:operate width="200"> 
                                        <g:link  action="edit" id="${articleInstance.id}"><g:message code="default.button.edit.label" default="修改" /></g:link>
                                        <g:link  action="delete" id="${articleInstance.id}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');"><g:message code="default.button.delete.label" default="delete" /></g:link>
                                        <a href="javascript:" id="${articleInstance.id}" class="feedback" >查看回执</a> 
                                </x:operate>
                             </g:if>
                             </td>
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${articleInstanceTotal}" />
            </div>
<div id="dialog-select" class="hide" title="查看回执">
<iframe id="iframe" name="iframe" width="100%" height="100%" src="" noresize scrolling="no"></iframe>
</div>
